package dao;

import entries.Role;

import java.sql.SQLException;

public interface RoleDao {
    
    void create (Role user) throws SQLException, ClassNotFoundException;
    
    void update (Role user)throws SQLException, ClassNotFoundException;
    
    void remove (Role user)throws SQLException, ClassNotFoundException;
    
    Role findByName (String name)throws SQLException, ClassNotFoundException;

}
